def capitalize(s):
    return s[0].upper() + s[1:] if s[0].islower() else s


def punctuate(s):
    return s if s[-1] in '.?!' else s + '.'
